<script>
/* jQuery->validation */
$(document).ready(function(){
    $("#ModeloformulariosEditForm").validate();
    });
</script>

<?php echo $this->Form->create('Modeloformularios', array('url' => array('controller' => 'modeloformularios', 'action' => 'edit'),'inputDefaults' => array('label' => false, 'div' => false))); ?>

    <div class="grid_2 titulo_campo">Nombre</div>
    <div class="grid_6">
        <?php echo $this->Form->input('Modeloformulario.id', array('value'=>$this->data['Modeloformulario']['id'], 'type' => 'hidden'));?>
        <?php echo $this->Form->input('Modeloformulario.name', array('value'=>$this->data['Modeloformulario']['name'], 'type' => 'text', 'class'=>'required'));?>
    </div>
    <div class="clear"></div>

    <div class="grid_2 titulo_campo">Modelo Origen</div>
    <div class="grid_6">
        <?php echo $this->Form->input('Modeloformulario.modelo_origen', array('value'=>$this->data['Modeloformulario']['modelo_origen'], 'type' => 'text', 'class'=>'required'));?>
    </div>
    <div class="clear"></div>
	
    <div class="grid_2 titulo_campo">Modelo Destino</div>
    <div class="grid_6">
        <?php echo $this->Form->input('Modeloformulario.modelo_destino', array('value'=>$this->data['Modeloformulario']['modelo_destino'], 'type' => 'text', 'class'=>'required'));?>
    </div>
    <div class="clear"></div>

    <div class="grid_2 titulo_campo">Campo Destino</div>
    <div class="grid_6">
        <?php echo $this->Form->input('Modeloformulario.campo_destino', array('value'=>$this->data['Modeloformulario']['campo_destino'], 'type' => 'text', 'class'=>'required'));?>
    </div>
    <div class="clear"></div>
	
	
    <div class="grid_6 save">
        <?php echo $this->Form->input('Modeloformulario.save_apply', array('value'=>'save', 'type' => 'hidden'));?>
        <?php
            $options = array('label' => 'Guardar los cambios','name' => 'save');
            echo $this->Form->end($options); 
        ?>
    </div>

</form>
<div class="clear"></div>
